package com.antdesignbackend.backend.activiti.processlist.mapper;

import com.antdesignbackend.backend.activiti.processlist.entity.ProcessList;
import com.antdesignbackend.backend.activiti.processlist.entity.entityVo.ProcessListVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 配置流程
 * @author 不二
 * @email processlist
 * @date 2020-08-11 16:53:34
 */
@Component
public interface ProcessListMapper extends BaseMapper<ProcessList>{
    List<ProcessListVo> search(@Param(Constants.WRAPPER) QueryWrapper<ProcessListVo> queryWrapper, Page<ProcessListVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<ProcessListVo> queryWrapper);
}
